package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 特殊规定的省份运费
 */
@ApiModel(value = "com-lanchetech-entity-FreightList")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FreightList implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 运费模板id
     */
    @ApiModelProperty(value = "运费模板id")
    private Long freightId;

    /**
     * 省份code
     */
    @ApiModelProperty(value = "省份code")
    private Long province;

    /**
     * 首重运费, 一千克及以下
     */
    @ApiModelProperty(value = "首重运费, 一千克及以下")
    private BigDecimal firstWeight;

    /**
     * 续重运费, 每千克
     */
    @ApiModelProperty(value = "续重运费, 每千克")
    private BigDecimal additionalWeight;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    private static final long serialVersionUID = 1L;
}